package com.moyq5.mvc.framework.jackson.result;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class ObjectResult<T> extends StatusResult {
	

    @JsonSerialize
    private T data;
    

	public ObjectResult() {
        super();
    }

    public ObjectResult(Status status) {
        super(status);
    }

    public ObjectResult(Status status, String message) {
        super(status, message);
    }
    
    public ObjectResult(Status status, String message, T data) {
        super(status, message);
        this.data = data;
    }

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

}
